<title>Admin | Summary</title>
<script>
    $("ul li").each(function() {
        if ($(this).attr("key") == "home") {
            $(this).addClass("active");
        }
    });
</script>
<div id="view-content">

    <!--   Size : <?php echo sizeof($this->allData); ?>
       <br><br>
    <?php foreach ($this->allData as $value) : ?>
               <b>ID: </b><?= $value->id ?><br>
               <b>Title: </b><?= $value->name ?><br>
               <b>Email: </b><?= $value->email ?><br>
               <b>Phone: </b><?= $value->phone ?><br>
               <b>Banned: </b><?php
        if ($value->banned == false) {
            echo 'Not';
        } else {
            echo 'Banned';
        }
        ?><br>
<?php endforeach; ?> -->

    <div class="row-fluid">
        <div class="span3 well">            
            <h3>Users</h3>
            <table class="table">                
                <tr>
                    <td>Banned</td><td><?= $this->totalBannedUsers ?></td>
                </tr>
                <tr>
                    <td>Waiting for conformation</td><td><?= $this->waitingConfirms ?></td>
                </tr>
                <tr>
                    <td>Today New Added</td><td><?= $this->todayNew ?></td>
                </tr>
                <tr class="success">
                    <td>Total </td><td><?= $this->totalUsers ?></td>
                </tr>
            </table>
        </div>
        <div class="span3 well">
            <h3>Poperty Ads</h3>
            <table class="table">                
                <tr>
                    <td>Today New</td><td><?=$this->todayNewPosted?></td>
                </tr>
                <tr>
                    <td>Visible For Search</td><td><?=$this->visible?></td>
                </tr>                
                <tr>
                    <td>Total Posted</td><td><?=$this->totalPosted?></td>
                </tr>
            </table>
        </div>
    </div>       
</div>